﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace WEBAPI.Indaseture.Infasetures
{
    public interface IBaseRepostiy<T>where T : class
    {
        public Task<int> AddAsync(T a);
        public Task<int> Add(T a);
        public Task<int> Update(T a);
        public Task<int> Delete(T a);
        IQueryable<T> GetAll();
    }
}
